package com.pqc.tbk.service.admin;

import java.util.Map;

public interface SystemService {
	/**
	 * 绑定settings属性
	 * 
	 * @throws Exception
	 */
	void bindSysProperties() throws Exception;

	/**
	 * 修改settings属性， 重新绑定
	 * 
	 * @param system_website
	 * @param system_name
	 * @param system_icp
	 * @param email_authuser
	 * @param email_authpassword
	 * @param stmphost
	 * @param stmpport
	 * @param taobao_appkey
	 * @param taobao_appsecret
	 * @param taobao_session
	 * @param taobao_submiturl
	 * @throws Exception
	 */
	void updateProperties(String system_website, String system_name,
			String system_icp, String email_authuser,
			String email_authpassword, String stmphost, String stmpport,
			String taobao_appkey, String taobao_appsecret,
			String taobao_session, String taobao_submiturl) throws Exception;

	/**
	 * 获取setttings属性对应的的map， 给前台el使用
	 * 
	 * @return
	 */
	Map<String, String> convertToMap();
}
